<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" >
    <div class="form-group">
        <label for="c-url" class="control-label col-xs-12 col-sm-2">网址:</label>
        <div class="col-xs-12 col-sm-6">
            <textarea id="c-url" data-rule="required" class="form-control" name="row[url]" style="height:150px" placeholder="每行一个网址"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-keyword" class="control-label col-xs-12 col-sm-2">关键词:</label>
        <div class="col-xs-12 col-sm-6">
            <textarea id="c-keyword" data-rule="required" class="form-control" name="row[keyword]" style="height:150px" placeholder="每行一个关键字"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-consumedays" class="control-label col-xs-12 col-sm-2">消费天数:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-consumedays" data-rule="required" class="form-control" name="row[consumedays]" type="number" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
